<template>
<!-- 测试 el-card 的点击事件 -->
  <div style="padding:30px;">
    <el-alert :closable="false" title="menu 2" />
    <el-card shadow="hover" @click.native="showMessage">
      <el-button @click="showMessage_One">Button1</el-button>
      <el-button @click="showMessage_Two">Button2</el-button>
    </el-card>
  </div>
</template>


<script>
  export default {
    data() {
      return {
        list: null,
        listLoading: true,
        row: 5
      }
    },
    methods: {
      showMessage(){
        alert("测试 Card")
      },
      showMessage_One(){
        alert("测试 Button One")
      },
      showMessage_Two(){
        alert("测试 Button Two")
      },
    }
  }
</script>
